package com.mine.frame.mylandemo.entity.haobo

/**
 * @Date 2022/6/15
 * Description:按钮信息
 */
data class KeyNumberBean(val number: String) {

    var name: String = ""

    var createResult: String = ""

    var command: ByteArray = byteArrayOf()

    fun getNumberInt(): Int {
        return try {
            number.toInt()
        } catch (e: Exception) {
            0
        }
    }
}
